![]() |
Sensor Fusion for Kinetis MCUs (ISSDK/KSDK version)
|
Include dependency graph for status.c:Go to the source code of this file.
Macros | |
| #define | N 0x00 |
| #define | R 0x04 |
| #define | G 0x02 |
| #define | B 0x01 |
Functions | |
| void | ssSetLeds (int8_t RGB) |
| void | ssSetStatusNow (StatusSubsystem *pStatus, fusion_status_t status) |
| void | ssTest (StatusSubsystem *pStatus) |
| void | ssQueueStatus (StatusSubsystem *pStatus, fusion_status_t status) |
| void | ssUpdateStatus (StatusSubsystem *pStatus) |
| void | ssSetStatus (StatusSubsystem *pStatus, fusion_status_t status) |
| void | initializeStatusSubsystem (StatusSubsystem *pStatus) |
Applications may change how they choose to display status information. The default implementation here uses LEDs on NXP Freedom boards. You may swap out implementations as long as the "Required" methods and states are retained.
Definition in file status.c.
| #define B 0x01 |
Definition at line 50 of file status.c.
Referenced by ssSetLeds().
| #define G 0x02 |
Definition at line 49 of file status.c.
Referenced by ssSetLeds(), and ssSetStatusNow().
| #define N 0x00 |
Definition at line 47 of file status.c.
Referenced by ssSetStatusNow().
| #define R 0x04 |
Definition at line 48 of file status.c.
Referenced by ssSetLeds(), and ssSetStatusNow().
| void initializeStatusSubsystem | ( | StatusSubsystem * | pStatus | ) |
initializeStatusSubsystem() should be called once at startup to initialize the data structure and to put hardware into the proper state for communicating status.
| pStatus | pointer to the status subsystem |
Definition at line 185 of file status.c.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void ssQueueStatus | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
Definition at line 164 of file status.c.
Referenced by initializeStatusSubsystem().
Here is the caller graph for this function:| void ssSetLeds | ( | int8_t | RGB | ) |
Definition at line 53 of file status.c.
Referenced by ssSetStatusNow().
Here is the caller graph for this function:| void ssSetStatus | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
Definition at line 177 of file status.c.
Referenced by initializeStatusSubsystem().
Here is the call graph for this function:
Here is the caller graph for this function:| void ssSetStatusNow | ( | StatusSubsystem * | pStatus, |
| fusion_status_t | status | ||
| ) |
Definition at line 70 of file status.c.
Referenced by ssTest(), and ssUpdateStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| void ssTest | ( | StatusSubsystem * | pStatus | ) |
Definition at line 125 of file status.c.
Referenced by initializeStatusSubsystem().
Here is the call graph for this function:
Here is the caller graph for this function:| void ssUpdateStatus | ( | StatusSubsystem * | pStatus | ) |
Definition at line 170 of file status.c.
Referenced by initializeStatusSubsystem(), and ssSetStatus().
Here is the call graph for this function:
Here is the caller graph for this function: